* {
    margin: 0;
    padding: 0;
}

ul li {
    
    list-style: none;
}

a {
    text-decoration: none;
    color: #000;
}

@font-face {
    font-family: 'iconfont';
    src: url('../font_4750212_nr20k3ure2/iconfont.woff2') format('woff2'),
         url('../font_4750212_nr20k3ure2/iconfont.woff') format('woff'),
         url('../font_4750212_nr20k3ure2/iconfont.ttf') format('truetype');
  }

  .iconfont {
    font-family: "iconfont" !important;
    font-size: 16px;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .head {
    width: 70%;
    height: 118px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0 auto 80px;
}

.head .logo img {
    width: 120px;
    
}

.head .nav {
    width: 401px;
    height: 58px;
    line-height: 50px;
    border-radius: 40px;
    background-color: #e9e9e9;
    display: flex;
    justify-content: space-around;
    align-items: center;

}

.head .nav li{
    width: 126px;
    height: 48px;
    text-align: center;
    font-size: 20px;
    background: #e9e9e9;
    border-radius: 25px;
}

.head .nav li:hover {
    background-color: white;
}

.head .search {
    width: 200px;
    height: 48px;
    /* background-color: yellow; */
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.head .search input {
    width: 116px;
    height: 48px;
    outline-style: none;
    background-color: rgba(255, 255, 255,0);
    border: 1px  solid #cbd5e1;
    border-radius: 40px;
    font-size: 26px;
    padding-left: 10px;
}

.head .search input:hover,
.head .search input:last-child:hover {
    background-color: black;
    color: white;
}

.head .search input:last-child {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0);
    border: 1px  sloid #cbd5e1;
    padding: 0;
}

/* 中间部分 */
.banner {
    width: 1216px;
    margin: 0 auto 0;
    /* background-color: yellow; */
    /* display: flex; */
}

.banner .header {
    margin-bottom: 20px;
    position: relative;
}

.banner .header ul {
    width: 90%;
    margin: 20px auto;
    /* padding: 0 35px; */
    display: flex;
    overflow: hidden;
}

.banner .header .left {
    background-color: #ddd;
    width: 35px;
    height: 35px;
    line-height: 30px;
    text-align: center;
    margin-left: -35px;
    border-radius: 50%;
    content: "<";
    font-size: 30px;
    position: absolute;
    left: 0px;
    top: 65px;
}

.banner .header .right {
    background-color: #ddd;
    width: 35px;
    height: 35px;
    line-height: 30px;
    text-align: center;
    margin-right: -30px;
    border-radius: 50%;
    content: ">";
    font-size: 30px;
    position: absolute;
    right: 0;
    top: 65px;
}

.banner .header::after:hover {
    background-color: #ddd;
}

.banner .header ul li button {
    border-radius: 20px;
    padding: 10px 15px;
    margin-right: 13px;
}

.banner .header ul li button:hover {
    background-color: #000;
    color: white;
}

.banner .cont {
    display: flex;
    /* justify-content: space-between; */
    flex-wrap: wrap;
}

.banner .cont img,
.banner .cont a div {
    width: 280px;
    height: 420px;
    margin: 20px 20px 0 0;
    border: 1px solid #bbb;
    transition: all ease 0.5s;
}

.banner .cont a {
    position: relative;
}

.banner .cont a div {
    width: calc(100% + 3px);
    height: calc(100% + 0px);
    margin-top: 10px;
    margin-left: -12px;
    border-radius: 10px;
    top: 0;
    left: 0;
    position: absolute;
    background-color: #000;
    opacity: 0;
    color: white;
}

.banner .cont a div img{
    width: 100%;
    height: 150px;
    border: none;
    margin-left: 0;
    margin-top: 0;
    border-radius: 10px;
}

.banner .cont a div li {
    list-style: none;
    width: 100%;
    height: 152px;
    top: 0;
    left: 0;
    position: absolute;
    background: linear-gradient(to bottom, rgba(255, 255, 255,0), rgba(0, 0, 0,1));
}

.banner .cont a div h1 {
    font-size: 24px;
    margin-left: 9px;
}

.banner .cont a div h2 {
    font-size: 16px;
    margin-top: 20px;
    margin-left: 9px;
}

.banner .cont a div button {
    width: 40%;
    height: 12%;
    border-radius: 40px;
    margin-top: 20px;
    margin-left: 9px;
    font-weight: 700;
}

.banner .cont a div p {
    color: #bbb;
    margin-top: 20px;
    margin-left: 9px;
}

.banner .cont a div:hover {
    opacity: 1;
}

.banner #btn:checked + div {
    display: flex;
}

#e {
    display: none;
}

#btn {
    display: none;
}

.banner .more {
    margin: 40px auto 0;
    width: 150px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 30px;
    background-color: #cbd5e1;
    color: black;
    display: block;
    outline: none;
    border: 1px solid #999;
}

.banner .more:hover {
    background-color: #000;
    color: white;
}

/* 结尾 */
.tail {
    height: 108px;
    margin: 96px auto 200px;
}

.tail .logo{
    text-align: center;
    margin-bottom: 20px;
}

.tail .logo img {
    width: 120px;
    height: 28px;
}

.tail .nav {
    width: 300px;
    height: 24px;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
}

.tail .nav li {
    font-size: 18px;
    font-weight: 700;
}

.tail .nav li a {
    color: black;
}

.tail .end {
    width: 380px;
    height: 18px;
    display: flex;
    justify-content: space-between;
    margin: 15px auto 0px;
}

.tail .end li {
    font-size: 18px;
    font-weight: 400;
    color: #808ba2;
}

@media (max-width: 1280px) {
    .banner,
    .banner .header ul {
        width: 960px;
    }

    .banner .cont  img,
    .banner .cont a div {
        width: 300px;
        height: 464px;
        margin: 10px 8px;
    }
}

@media (max-width: 1020px) {
    .banner,
    .banner .header ul {
        width: 720px;
    }

    .banner .cont  img {
        width: 168px;
        height: 252px;
        margin: 10px 5px;
    }
    .banner .cont a div {
        display: none;
    }
}

@media (max-width: 770px) {
    .banner,
    .banner .header ul {
        width: 592px;
    }

    .banner .cont  img {
        width: 180px;
        height: 280px;
        margin: 20px 5px;
    }
}



@media (max-width: 700px) {
    .head .nav {
        position: fixed;
        bottom: 0;
    }
}